package com.group3.pojo.result;

import com.group3.domain.Klass;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.ToString;

/**
 * KlassResult
 *
 * @author HY
 * 2021/06/09 16:07
 **/

@Data
@ToString
@ApiModel(value = "班级返回信息")
public class KlassResult {

    @ApiModelProperty(value = "班级名")
    private String classId;

    @ApiModelProperty(value = "班主任教师工号")
    private String teacherId;

    @ApiModelProperty(value = "班主任教师姓名")
    private String teacherName;

    @ApiModelProperty(value = "年级")
    private String grade;

    @ApiModelProperty(value = "院系")
    private String departName;

    @ApiModelProperty(value = "专业")
    private String professionName;

    @ApiModelProperty(value = "是否结业")
    private int statue;

    @ApiModelProperty(value = "学员总数")
    private int count;

    @ApiModelProperty(value = "是否结业")
    private String statueStr;

    public String getStatueStr() {
        switch (statue){
//            0:未结业；1：已经结业；
            case 0:return "未结业";
            case 1:return "已经结业";
        }
        return "?";
    }
}
